function LastDropMissionFinish()
		destroyElement(AutoPoNaprawieStach)
		createVehicle(498,4029.052734375,-1750.6083984375,2.2,0,0,270,"LASTDROP")
			setVehicleLocked(LastDropBoxvillePoNaprawie,true)
			setVehicleColor(LastDropBoxvillePoNaprawie,110,113,0,0)
end

function mainCarSpawn()
	autko = nil
	Savanna = createVehicle(567,3872.4091796875,-1754.75390625,3.1782138347626,0,0,0,"EL ROMAN")  	 
		setVehicleLocked(Savanna,true)
		setVehicleColor(Savanna,121,1,1,1)
		addVehicleUpgrade(Savanna,1130)
		setTimer(function()fixVehicle(Savanna)end,2000,1)
    Pizzaboy = createVehicle(448,3836.9931640625,-1703.3076171875,1.8829262256622,0,0,270,"STACKED")  
		setVehicleColor(Pizzaboy,3,6,0,0)
    Esperanto = createVehicle(419,3846.8310546875,-1676.3955078125,1.9709768295288,0,0,290,"PIZZAAAA")
		setVehicleLocked(Esperanto,true)
		setVehicleColor(Esperanto,83,1,0,0)
    Washington = createVehicle(421,3845.3310546875,-1681.1455078125,2.0983107089996,0,0,80,"CHEESE 2")
		setVehicleLocked(Washington,true)
		setVehicleColor(Washington,118,1,0,0)
    PoliceCar = createVehicle(598,3858.8310546875,-1616.64453125,2.2,0,0,10,"DOUGHNUT")
		setVehicleColor(PoliceCar,16,1,0,0)
		setVehicleDoorState(PoliceCar,0,2)
		setVehicleDoorState(PoliceCar,1,2)
		setVehicleDoorState(PoliceCar,2,4)
		setVehicleDoorState(PoliceCar,3,2)
		setVehicleDoorState(PoliceCar,4,3)
		setVehicleDoorState(PoliceCar,5,4)
		setVehicleLightState(PoliceCar,0,1)
		setVehicleLightState(PoliceCar,3,1)
		setVehiclePanelState(PoliceCar,4,1)
		setVehiclePanelState(PoliceCar,5,1)
		setVehiclePanelState(PoliceCar,6,3)
		setElementHealth(PoliceCar,500)
		setVehicleWheelStates(PoliceCar,0,1,0,0)
    Landstalker = createVehicle(400,3962.5126953125,-1803.439453125,2.1838476657867,0,0,90,"Y0  M4M4") 
    LastDropBoxville1 = createVehicle(498,4029.052734375,-1745.1083984375,2.1046466827393,0,0,270,"LASTDROP")
		setVehicleLocked(LastDropBoxville1,true)
		setVehicleColor(LastDropBoxville1,110,113,0,0)
    Stratum = createVehicle(561,3962.8134765625,-1819.921875,1.677495598793,0,0,270,"SKORA PL")
		setVehicleLocked(Stratum,true)
    LastDropBoxville2 = createVehicle(498,4029.052734375,-1747.8583984375,2.1046466827393,0,0,270, "LASTDROP")
		setVehicleLocked(LastDropBoxville2,true)
		setVehicleColor(LastDropBoxville2,110,113,0,0)
    Benson = createVehicle(499,3914.46484375,-1651.009765625,1.9301546812057,0,0,90,"LSD 4 YU")
		setVehicleLocked(Benson,true)
		setVehicleColor(Benson,116,1,0,0)
    Walton = createVehicle(478,3913.7490234375,-1659.8076171875,1.9101547002792,0,0,120,"FARM MAN")
		setVehicleColor(Walton,117,1,0,0)
		addVehicleUpgrade(Walton,1005)
		addVehicleUpgrade(Walton,1012)
		addVehicleUpgrade(Walton,1020)
    Premier = createVehicle(426,3954.3049316406,-1822.8833007813,1.6793737411499,0,0,270,"1M4 1337")
		setVehicleLocked(Premier,true)
    Willard = createVehicle(529,3953.6337890625,-1810.4287109375,1.5972626209259,0,0,90," MARCIN")
		setVehicleLocked(Willard,true)
	Oceanic = createVehicle(467,3943.2099609375,-1794.5048828125,1.7293740510941,0,0,90," SFYNKS")
    Greenwood = createVehicle(492,3973.0380859375,-1793.935546875,1.7593740224838,0,0,270,"MASTA N1")
		setVehicleLocked(Greenwood,true)
    Dozer = createVehicle(486,3875.001953125,-1694.3564453125,2.327095746994,0,0,270)
    CementTruck = createVehicle(524,3875.5419921875,-1700.05078125,3.0437526702881,0,0,270,"CONCRETE")
		setVehicleLocked(CementTruck,true)
    Cheetah = createVehicle(415,3966.953125,-1855.2099609375,1.70889544487,0,0,180,"DZ4K RL2") 
		setVehicleLocked(Cheetah,true)
    ZR350 = createVehicle(477,3943.453125,-1851.6787109375,1.7093740701675,0,0,90,"MR JAMSZ")
		setVehicleLocked(ZR350,true)
    Slamvan2 = createVehicle(535,3943.2387695313,-1835.9375,1.6993740797043,0,0,90,"EL CICHY")
    Leviathan = createVehicle(417,4021.4123535156,-1681.5457763672,15.085241317749)
		setVehicleLocked(Leviathan,true)
    Bus1 = createVehicle(431, 3836.0981445313,-1774.0723876953,2.380598783493,0,0,270,"WARSZAWA") 
		setVehicleLocked(Bus1,true)
    Bus2 = createVehicle(431,3836.09765625,-1770.072265625,2.380598783493,0,0,270," MOSKWA")
		setVehicleLocked(Bus2,true)
    LastDropBoxvillePoNaprawie = createVehicle(498,4029.052734375,-1750.6083984375,2.2,0,0,270,"LASTDROP")
		setVehicleLocked(LastDropBoxvillePoNaprawie,true)
		setVehicleColor(LastDropBoxvillePoNaprawie,110,113,0,0)
    Hotdog = createVehicle(588,4007.720703125,-1654.09375,1.730154633522,0,0,110,"EAT DOGZ")
		setVehicleLocked(Hotdog,true)
		setVehicleColor(Hotdog,1,1,0,0)
    Stafford = createVehicle(580,4012.8115234375,-1631.748046875,1.7376784086227,0,0,0,"STEAKRLZ")
    bonusNRG = createVehicle(522,3869.4487304688,-1702.8262939453,9.6880359649658,0,0,90)
		nrg = 0

	Slamvan = createVehicle (535, 3741.9187011719, -1909.990234375, 4.2685122489929)
		setVehicleColor(Slamvan, 123, 0, 0, 0)
	Sanchez	= createVehicle(468, 3758.0588378906, -1816.3996582031, 9.764705657959, 0, 0, 90)
		setVehicleColor(Sanchez, 126, 0, 0, 0)
	autoStacha = createVehicle(549,3841.09765625,-1737.91015625,1.8343498706818,0,0,254," STACHU")
		setVehicleLocked(autoStacha,true)
		setVehicleColor(autoStacha,101,120,126,0)
		addVehicleUpgrade(autoStacha,1007)
		addVehicleUpgrade(autoStacha,1020)
		addVehicleUpgrade(autoStacha,1098)
	autoPoNaprawieStach = createVehicle(498,3846.8286132813,-1746.5301513672,1.7863144874573,0,0,270,"LASTDROP")
		setVehicleLocked(autoPoNaprawieStach,true)
		setVehicleColor(autoPoNaprawieStach,110,113,0,0)
	Stretch = createVehicle(409,3919.2736816406,-1745.4807128906,2.0749995708466,0,0,270,"RICHWALD")
		setVehicleLocked(Stretch,true)
		setVehicleColor(Stretch,0,0,0,0)
		addVehicleUpgrade(Stretch,1085)
	
	function samochodowySkrypt_enter(playerElement, theSeat, jacked)
		if (theSeat == 0) then
			if (source == bonusNRG and nrg == 0) then
				outputChatBox("Tworcy: #ffff00Brawo, znalazles bonus! Wez sobie tego #ffffffNRG-500#ffff00, nam niepotrzebny :)",playerElement,255,255,255,true)
				nrg = 1
			end
			setVehicleOverrideLights(source, 0)
		end
	end
	addEventHandler("onVehicleEnter", getRootElement(), samochodowySkrypt_enter)
	
	function samochodowySkrypt_exit(playerElement, theSeat, jacked)
		if (theSeat == 0) then
				setVehicleOverrideLights(source, 1)
			setVehicleEngineState(source, false)
		end
	end
	addEventHandler("onVehicleExit", getRootElement(), samochodowySkrypt_exit)
end

function artificialLag()
		setTimer(mainCarSpawn,10000,1)
end
addEventHandler("onResourceStart", getThisResource(),artificialLag)